// 希望（约定）的后台返回数据格式
export default {
  code: 200,
  msg: '获取路由成功！',
  data: [
    {
      path: 'order',
      title: '订单管理',
      component: 'Order',
      icon: 'el-icon-s-order',
      redirect: 'order/list',
      children: [
        {
          path: 'list',
          title: '全部订单',
          component: 'OrderList',
        },
        {
          path: 'wait-delivery',
          title: '待发货',
          component: 'OrderWaitDelivery',
        }, {
          path: 'deliveryed',
          title: '已发货',
          component: 'OrderDeliveryed',
        }, {
          path: 'wait-receiving',
          title: '待收货',
          component: 'OrderWaitReceiving',
        }, {
          path: 'received',
          title: '已收货',
          component: 'OrderReceived',
        }, {
          path: 'closed',
          title: '已关闭',
          component: 'OrderClosed',
        }
      ]
    },
    {
      path: 'goods',
      title: '商品管理',
      component: 'Goods',
      icon: 'el-icon-shopping-bag-2',
      redirect: 'goods/list',
      children: [
        {
          title: '商品列表',
          path: 'list',
          component: 'GoodsList',
        },
        {
          title: '商品分类',
          path: 'category',
          component: 'GoodsCategory',
        },
        {
          title: '商品属性',
          path: 'attr',
          component: 'GoodsAttr',
        }
      ]
    }, {
      path: 'member',
      title: '会员管理',
      icon: 'el-icon-s-custom',
      redirect: 'member/list',
      component: 'Member',
      children: [
        {
          title: '用户列表',
          path: 'list',
          component: 'Memberlist',
        },
        {
          title: '等级管理',
          path: 'rank',
          component: 'Memberrank',
        }
      ]
    },
    {
      path: 'cart',
      title: '用户购物车',
      icon: 'el-icon-shopping-cart-2',
      redirect: 'cart/list',
      component: 'Cart',
      children: [
        {
          title: '购物车列表',
          path: 'list',
          component: 'Cartlist',
        }
      ]
    },
    {
      path: 'mina-shop',
      title: '小程序商城管理',
      icon: 'el-icon-s-shop',
      redirect: 'mina-shop/banner',
      component: 'Minashop',
      children: [
        {
          title: '首页轮播图',
          path: 'banner',
          component: 'MinashopBanner',
        },
        {
          title: '公告管理',
          path: 'notice',
          component: 'MinashopNotice',
        },
        {
          title: '商品分类导航',
          path: 'nav',
          component: 'MinashopNav',
        },
        {
          title: '广告管理',
          path: 'advertisement',
          component: 'MinashopAdvertisement',
        },
        {
          title: '商城主题管理',
          path: 'theme',
          component: 'MinashopTheme',
        }, {
          title: '运费模板管理',
          path: 'postage',
          component: 'MinashopPostage',
        }
      ]
    },
    {
      path: 'system',
      title: '系统管理',
      component: 'System',
      icon: 'el-icon-s-tools',
      children: [
        {
          title: '后台账号管理',
          path: 'user',
          component: 'SystemUser',
          redirect: 'user/list',
          children: [
            {
              title: '后台账号列表',
              path: 'list',
              component: 'SystemUserList',
            },
            {
              title: '编辑账号信息',
              path: 'edit/:uid',
              component: 'SystemUserEidt',
            },
            {
              title: '添加后台账号',
              path: 'add',
              component: 'SystemUserAdd',
            }
          ]
        },
        {
          title: '角色管理',
          path: 'role',
          component: 'SystemRole',
          redirect: 'role/list',
          children: [
            {
              title: '系统角色列表',
              path: 'list',
              component: 'SystemRoleList'
            }, {
              title: '添加系统角色',
              path: 'add',
              component: 'SystemRoleAdd'
            }, {
              title: '编辑系统角色',
              path: 'edit',
              component: 'SystemRoleEdit'
            }
          ]
        },
        {
          title: '权限管理',
          path: 'scope',
          component: 'SystemScope',
          redirect: 'scope/list',
          children: [
            {
              title: '权限列表',
              path: 'list',
              component: 'SystemScopeList'
            }, {
              title: '编辑权限',
              path: 'edit',
              component: 'SystemScopeEdit'
            }
          ]
        },
        {
          title: '前端路由表管理',
          path: 'route',
          component: 'SystemRoute',
          redirect: 'route/list',
          children: [
            {
              title: '前端路由列表',
              path: 'list',
              component: 'SystemRouteList'
            }, {
              title: '添加前端路由',
              path: 'edit',
              component: 'SystemRouteEdit'
            }, {
              title: '添加前端路由',
              path: 'add',
              component: 'SystemRouteAdd'
            }
          ]
        }
      ]
    }
  ]
}